import {RequestUtil} from '@/utils'

export class PopActivityHttp {
    static PREFIX = "/manager/pop/activity"


    static getActivityPage = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/main/pageList`, params)

    static addActivity = (data: Record<string, any>) => RequestUtil.postAjax(`${this.PREFIX}/main/add`, data)

    static updateActivity = (id: string | number, data: Record<string, any>) => RequestUtil.putAjax(`${this.PREFIX}/main/update/${id}`, data)

    static delActivity = (data: any[]) => RequestUtil.delAjax(`${this.PREFIX}/main/delete`, data)



}
